package com.bootdo.program.shejiao.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.program.shejiao.dao.WithdrawalDao;
import com.bootdo.program.shejiao.domain.WithdrawalDO;



@Service
public class WithdrawalService   {
	@Autowired
	private WithdrawalDao withdrawalDao;
	
	
	public WithdrawalDO get(Long id){
		return withdrawalDao.get(id);
	}
	
	
	public List<WithdrawalDO> list(Map<String, Object> map){
		return withdrawalDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return withdrawalDao.count(map);
	}
	
	
	public int save(WithdrawalDO withdrawal){
		return withdrawalDao.save(withdrawal);
	}
	
	
	public int update(WithdrawalDO withdrawal){
		return withdrawalDao.update(withdrawal);
	}
	
	
	public int remove(Long id){
		return withdrawalDao.remove(id);
	}
	
	
	public int batchRemove(Long[] ids){
		return withdrawalDao.batchRemove(ids);
	}
	
}
